<%@ page import="com.sz.controller.frame.TikuController" %>
<%@page language="java" contentType="text/html; charset=UTF-8"
        pageEncoding="UTF-8" %>
<!DOCTYPE HTML>
<html>
<head>
    <%@ include file="/web/header.jsp" %>
    <%
        request.setAttribute("list", TikuController.WEB_LIST_URL);
    %>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
    <link rel="stylesheet" href="${ctx}/web/css/style.css">
</head>
<body>

<div>
    <div class="layui-fluid">
        <div>
            <div class="demo-img demo-small-img" style="margin-top: 10px;"><a href="${ctx}/web/index.jsp">
                <img src="http://placehold.it/100x40"/></a></div>
            <div class="wrapper wrapper-small">
                <form action="${ctx}${list}">
                    <input name="question" value="${question}" type="text" class="bantxt" placeholder="输入插件关键字..">
                    <button class="btn banbutt" type="submit">搜索</button>
                </form>
            </div>
        </div>
        <div class="layui-row" style="margin-bottom: 10px;">
            <div class="layui-col-xs6-offset5 layui-col-sm6-offset5 layui-col-md3-offset5">
                <c:if test="${not empty cuoci}">
                    <span style="font-size: 20px;">
                    以下为您显示“${jiuco}”的搜索结果。 仍然搜索：<a href="${ctx}${list}?question=${cuoci}&type=2">${cuoci}</a>
                    </span>
                </c:if>
            </div>
        </div>
        <div style="width: 80%; margin-top: 10px; margin-left: 5px">
            <c:forEach items="${tikulist}" var="tiku">
            <dl style="margin-bottom: 10px">
                    <dt style="font-size: 16px; color: #1E9FFF; margin-bottom: 3px">${tiku.quesetion}</dt>
                    <dd style="font-size: 14px">答案：${tiku.answer}</dd>
            </dl>
            </c:forEach>
            <%--<table style="width: 80%">
                <tbody>
                <c:forEach items="${tikulist}" var="tiku">
                    <tr class="layui-row">
                        <td><span style="font-size: 18px; color: #1E9FFF;">问题:${tiku.quesetion}</span></td>
                    </tr>
                    <tr class="layui-row" style="margin-bottom: 10px;">
                        <td style="font-size: 16px"><span style="font-size: 16px">答案：</span>${tiku.answer}</td>
                    </tr>
                </c:forEach>
                </tbody>
            </table>--%>
        </div>
    </div>
</div>
<script type="text/javascript" src="${ctx }/layui/layui.js"></script>
<script>

</script>

</body>
</html>
